package com.wing;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author
 */
@EnableDiscoveryClient
@EnableTransactionManagement
@EnableFeignClients(basePackages = {"com.wing"})
@SpringBootApplication(scanBasePackages = {"com.wing"})
@EnableScheduling
public class EnterpriseServerApp {
    public static void main(String[] args) {
        new SpringApplicationBuilder(EnterpriseServerApp.class).allowCircularReferences(true).run(args);
    }
}
